From: Colin Walters Date: Sat, 21 Jun 2014 21:24:06 +0000 (-0400) Subject: [staticanalysis]: Add missing va_end() X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~1157 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=dfda6e3a46135bb03a0eab6758b4687078016aa6;p=ostree.git [staticanalysis]: Add missing va_end() https://bugzilla.gnome.org/show_bug.cgi?id=732020 --- diff --git a/src/libotutil/ot-gio-utils.c b/src/libotutil/ot-gio-utils.c index 61eb422d..dff2113c 100644 --- a/src/libotutil/ot-gio-utils.c +++ b/src/libotutil/ot-gio-utils.c @@ -98,6 +98,8 @@ ot_gfile_get_child_strconcat (GFile *parent, while ((arg = va_arg (args, const char *)) != NULL) g_string_append (buf, arg); + va_end (args); + ret = g_file_get_child (parent, buf->str); g_string_free (buf, TRUE);